-- BP 7.1.6 content: InstanceStateMachine syschar: 3 persistence-version: 7.1.6

INSERT INTO SM_ISM
	VALUES ("505121e9-f544-4cdc-8fbc-847136df87f9",
	"d9a77c5c-3086-4af5-8308-a838479e2244");
INSERT INTO SM_SM
	VALUES ("505121e9-f544-4cdc-8fbc-847136df87f9",
	'',
	0);
INSERT INTO SM_MOORE
	VALUES ("505121e9-f544-4cdc-8fbc-847136df87f9");
INSERT INTO SM_LEVT
	VALUES ("88656256-58b7-424b-87d5-995632263126",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_SEVT
	VALUES ("88656256-58b7-424b-87d5-995632263126",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_EVT
	VALUES ("88656256-58b7-424b-87d5-995632263126",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000",
	1,
	'create',
	0,
	'',
	'COMP1',
	'');
INSERT INTO SM_LEVT
	VALUES ("f4f268b3-3ac1-4c30-be5d-376619c6ad0b",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_SEVT
	VALUES ("f4f268b3-3ac1-4c30-be5d-376619c6ad0b",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_EVT
	VALUES ("f4f268b3-3ac1-4c30-be5d-376619c6ad0b",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000",
	2,
	'destroy',
	0,
	'',
	'COMP2',
	'');
INSERT INTO SM_STATE
	VALUES ("1206e4ba-9704-48ef-933c-2ac7232104fc",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000",
	'Creating',
	1,
	0);
INSERT INTO SM_CH
	VALUES ("1206e4ba-9704-48ef-933c-2ac7232104fc",
	"88656256-58b7-424b-87d5-995632263126",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000",
	'');
INSERT INTO SM_SEME
	VALUES ("1206e4ba-9704-48ef-933c-2ac7232104fc",
	"88656256-58b7-424b-87d5-995632263126",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_SEME
	VALUES ("1206e4ba-9704-48ef-933c-2ac7232104fc",
	"f4f268b3-3ac1-4c30-be5d-376619c6ad0b",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_STATE
	VALUES ("386e0c46-f775-48f1-bf62-1350267b7aa8",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000",
	'Destroying',
	2,
	1);
INSERT INTO SM_CH
	VALUES ("386e0c46-f775-48f1-bf62-1350267b7aa8",
	"88656256-58b7-424b-87d5-995632263126",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000",
	'');
INSERT INTO SM_SEME
	VALUES ("386e0c46-f775-48f1-bf62-1350267b7aa8",
	"88656256-58b7-424b-87d5-995632263126",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_CH
	VALUES ("386e0c46-f775-48f1-bf62-1350267b7aa8",
	"f4f268b3-3ac1-4c30-be5d-376619c6ad0b",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000",
	'');
INSERT INTO SM_SEME
	VALUES ("386e0c46-f775-48f1-bf62-1350267b7aa8",
	"f4f268b3-3ac1-4c30-be5d-376619c6ad0b",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_CRTXN
	VALUES ("47029bd6-4056-41ff-9518-1ccde624e13d",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"88656256-58b7-424b-87d5-995632263126",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_TXN
	VALUES ("47029bd6-4056-41ff-9518-1ccde624e13d",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"1206e4ba-9704-48ef-933c-2ac7232104fc",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_NSTXN
	VALUES ("cffdfb40-36e3-4cc7-8db6-9ed68b05df6b",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"1206e4ba-9704-48ef-933c-2ac7232104fc",
	"f4f268b3-3ac1-4c30-be5d-376619c6ad0b",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_TXN
	VALUES ("cffdfb40-36e3-4cc7-8db6-9ed68b05df6b",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"386e0c46-f775-48f1-bf62-1350267b7aa8",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO SM_MOAH
	VALUES ("7f4038ea-6441-4214-8214-85a59989842e",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"1206e4ba-9704-48ef-933c-2ac7232104fc");
INSERT INTO SM_AH
	VALUES ("7f4038ea-6441-4214-8214-85a59989842e",
	"505121e9-f544-4cdc-8fbc-847136df87f9");
INSERT INTO SM_ACT
	VALUES ("7f4038ea-6441-4214-8214-85a59989842e",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	1,
	'// Only create if type doesn''t exist
select many comps from instances of COMP;
if (cardinality comps == 1)
   create object instance type of TYPE;
   create object instance core of CORE;
   relate type to core across R401;
   type.name = "composite";
   core.type = data_t::COMPOSITE;
   relate core to self across R403;
   self.generateSupportedOperators();
else
   LOG::LogFailure(message:"Multiple creation of COMP attempted!");
   generate COMP2:destroy to self;
end if;',
	'',
	0);
INSERT INTO SM_TAH
	VALUES ("be4c4cb7-705c-4df8-8bdb-f2e9ee5839af",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"47029bd6-4056-41ff-9518-1ccde624e13d");
INSERT INTO SM_AH
	VALUES ("be4c4cb7-705c-4df8-8bdb-f2e9ee5839af",
	"505121e9-f544-4cdc-8fbc-847136df87f9");
INSERT INTO SM_ACT
	VALUES ("be4c4cb7-705c-4df8-8bdb-f2e9ee5839af",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	1,
	'',
	'',
	0);
INSERT INTO SM_MOAH
	VALUES ("ec3880c6-aa3c-49de-8d68-04fd286d9e88",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"386e0c46-f775-48f1-bf62-1350267b7aa8");
INSERT INTO SM_AH
	VALUES ("ec3880c6-aa3c-49de-8d68-04fd286d9e88",
	"505121e9-f544-4cdc-8fbc-847136df87f9");
INSERT INTO SM_ACT
	VALUES ("ec3880c6-aa3c-49de-8d68-04fd286d9e88",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	1,
	'select one core related by self->CORE[R403];
if (not empty core)
  core.destroy();
  unrelate core from self across R403;
  delete object instance core;
end if;',
	'',
	0);
INSERT INTO SM_TAH
	VALUES ("0b7e314f-dc6f-480d-a4d0-025884d78602",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	"cffdfb40-36e3-4cc7-8db6-9ed68b05df6b");
INSERT INTO SM_AH
	VALUES ("0b7e314f-dc6f-480d-a4d0-025884d78602",
	"505121e9-f544-4cdc-8fbc-847136df87f9");
INSERT INTO SM_ACT
	VALUES ("0b7e314f-dc6f-480d-a4d0-025884d78602",
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	1,
	'',
	'',
	0);
INSERT INTO GD_MD
	VALUES ("5f01c158-ee84-450d-a49f-e792c6c98051",
	8,
	"505121e9-f544-4cdc-8fbc-847136df87f9",
	40,
	0,
	0,
	1,
	1,
	1,
	12,
	1,
	0,
	0,
	0,
	0,
	0,
	'4.1.17',
	'shlaer-mellor-metamodel::metamodel::Shlaer-Mellor Metamodel::Type::Composite::Instance State Machine');
INSERT INTO GD_GE
	VALUES ("83cbd5c7-058a-47b3-94e5-adf79c07697e",
	"5f01c158-ee84-450d-a49f-e792c6c98051",
	"1206e4ba-9704-48ef-933c-2ac7232104fc",
	41,
	0,
	'shlaer-mellor-metamodel::metamodel::Shlaer-Mellor Metamodel::Type::Composite::Instance State Machine::Creating');
INSERT INTO GD_SHP
	VALUES ("83cbd5c7-058a-47b3-94e5-adf79c07697e");
INSERT INTO GD_NCS
	VALUES ("83cbd5c7-058a-47b3-94e5-adf79c07697e");
INSERT INTO DIM_ND
	VALUES (169.000000,
	97.000000,
	"83cbd5c7-058a-47b3-94e5-adf79c07697e");
INSERT INTO DIM_GE
	VALUES (4425.000000,
	3120.000000,
	"83cbd5c7-058a-47b3-94e5-adf79c07697e",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("83cbd5c7-058a-47b3-94e5-adf79c07697e",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_CON
	VALUES ("1322bb15-0c37-4f5b-bb62-ae50c9a07a24",
	4500.000000,
	3120.000000,
	"83cbd5c7-058a-47b3-94e5-adf79c07697e");
INSERT INTO DIM_CON
	VALUES ("b7a5624e-1f82-4939-a4a7-df6c9bd45757",
	4488.000000,
	3205.000000,
	"83cbd5c7-058a-47b3-94e5-adf79c07697e");
INSERT INTO DIM_CON
	VALUES ("a2882353-7a2c-4deb-9a04-1c7b96359cc7",
	4512.000000,
	3217.000000,
	"83cbd5c7-058a-47b3-94e5-adf79c07697e");
INSERT INTO GD_GE
	VALUES ("c46cbc44-c9b2-4817-8c1a-1e9db2310d50",
	"5f01c158-ee84-450d-a49f-e792c6c98051",
	"47029bd6-4056-41ff-9518-1ccde624e13d",
	49,
	0,
	'COMP1: create');
INSERT INTO GD_CON
	VALUES ("c46cbc44-c9b2-4817-8c1a-1e9db2310d50",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_CTXT
	VALUES ("9389050c-bb0e-4f62-a7c8-a64f3abb0495",
	"c46cbc44-c9b2-4817-8c1a-1e9db2310d50",
	0,
	0.000000,
	0.000000);
INSERT INTO DIM_ND
	VALUES (0.000000,
	0.000000,
	"9389050c-bb0e-4f62-a7c8-a64f3abb0495");
INSERT INTO DIM_GE
	VALUES (0.000000,
	0.000000,
	"9389050c-bb0e-4f62-a7c8-a64f3abb0495",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("9389050c-bb0e-4f62-a7c8-a64f3abb0495",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_CTXT
	VALUES ("45dcecd7-fe4b-4a3a-98f8-d0b3f93874ed",
	"c46cbc44-c9b2-4817-8c1a-1e9db2310d50",
	2,
	0.000000,
	0.000000);
INSERT INTO DIM_ND
	VALUES (0.000000,
	0.000000,
	"45dcecd7-fe4b-4a3a-98f8-d0b3f93874ed");
INSERT INTO DIM_GE
	VALUES (4322.000000,
	3071.000000,
	"45dcecd7-fe4b-4a3a-98f8-d0b3f93874ed",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("45dcecd7-fe4b-4a3a-98f8-d0b3f93874ed",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_CTXT
	VALUES ("37d643ba-29a2-468f-8ccd-ed7f42a0b185",
	"c46cbc44-c9b2-4817-8c1a-1e9db2310d50",
	1,
	0.000000,
	0.000000);
INSERT INTO DIM_ND
	VALUES (0.000000,
	0.000000,
	"37d643ba-29a2-468f-8ccd-ed7f42a0b185");
INSERT INTO DIM_GE
	VALUES (0.000000,
	0.000000,
	"37d643ba-29a2-468f-8ccd-ed7f42a0b185",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("37d643ba-29a2-468f-8ccd-ed7f42a0b185",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_LS
	VALUES ("e3a562d2-9a30-48b5-9cf9-c4a8a649f30d",
	"c46cbc44-c9b2-4817-8c1a-1e9db2310d50",
	"00000000-0000-0000-0000-000000000000",
	"1f6afe74-6b06-47e8-b33f-ed944a27ec0c",
	"24cabc17-93b9-4650-abab-552059c23f1d");
INSERT INTO DIM_WAY
	VALUES ("1f6afe74-6b06-47e8-b33f-ed944a27ec0c",
	4500.000000,
	3120.000000,
	"c46cbc44-c9b2-4817-8c1a-1e9db2310d50",
	"00000000-0000-0000-0000-000000000000",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_WAY
	VALUES ("24cabc17-93b9-4650-abab-552059c23f1d",
	4500.000000,
	3036.000000,
	"c46cbc44-c9b2-4817-8c1a-1e9db2310d50",
	"00000000-0000-0000-0000-000000000000",
	"1f6afe74-6b06-47e8-b33f-ed944a27ec0c");
INSERT INTO DIM_GE
	VALUES (0.000000,
	0.000000,
	"c46cbc44-c9b2-4817-8c1a-1e9db2310d50",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("c46cbc44-c9b2-4817-8c1a-1e9db2310d50",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ED
	VALUES ("1322bb15-0c37-4f5b-bb62-ae50c9a07a24",
	"00000000-0000-0000-0000-000000000000",
	"c46cbc44-c9b2-4817-8c1a-1e9db2310d50");
INSERT INTO GD_GE
	VALUES ("1b5ad453-c9ff-4ed8-bcf6-31099314e3e7",
	"5f01c158-ee84-450d-a49f-e792c6c98051",
	"386e0c46-f775-48f1-bf62-1350267b7aa8",
	41,
	0,
	'shlaer-mellor-metamodel::metamodel::Shlaer-Mellor Metamodel::Type::Composite::Instance State Machine::Destroying');
INSERT INTO GD_SHP
	VALUES ("1b5ad453-c9ff-4ed8-bcf6-31099314e3e7");
INSERT INTO GD_NCS
	VALUES ("1b5ad453-c9ff-4ed8-bcf6-31099314e3e7");
INSERT INTO DIM_ND
	VALUES (180.000000,
	84.000000,
	"1b5ad453-c9ff-4ed8-bcf6-31099314e3e7");
INSERT INTO DIM_GE
	VALUES (4425.000000,
	3300.000000,
	"1b5ad453-c9ff-4ed8-bcf6-31099314e3e7",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("1b5ad453-c9ff-4ed8-bcf6-31099314e3e7",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_CON
	VALUES ("4eb8495d-8833-494f-85f0-df72a05bf060",
	4512.000000,
	3300.000000,
	"1b5ad453-c9ff-4ed8-bcf6-31099314e3e7");
INSERT INTO GD_GE
	VALUES ("40669bc5-29ae-4f48-8bc7-bf537ea4bf5d",
	"5f01c158-ee84-450d-a49f-e792c6c98051",
	"cffdfb40-36e3-4cc7-8db6-9ed68b05df6b",
	42,
	0,
	'shlaer-mellor-metamodel::metamodel::Shlaer-Mellor Metamodel::Type::Composite::Instance State Machine::Creating::COMP2: destroy');
INSERT INTO GD_CON
	VALUES ("40669bc5-29ae-4f48-8bc7-bf537ea4bf5d",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_CTXT
	VALUES ("33a1eeb2-25c1-40a7-8ce7-9d062e9a3ecc",
	"40669bc5-29ae-4f48-8bc7-bf537ea4bf5d",
	0,
	0.000000,
	0.000000);
INSERT INTO DIM_ND
	VALUES (0.000000,
	0.000000,
	"33a1eeb2-25c1-40a7-8ce7-9d062e9a3ecc");
INSERT INTO DIM_GE
	VALUES (0.000000,
	0.000000,
	"33a1eeb2-25c1-40a7-8ce7-9d062e9a3ecc",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("33a1eeb2-25c1-40a7-8ce7-9d062e9a3ecc",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_CTXT
	VALUES ("83809c98-1c08-4844-bd0b-3b8eeec6eec1",
	"40669bc5-29ae-4f48-8bc7-bf537ea4bf5d",
	2,
	0.000000,
	0.000000);
INSERT INTO DIM_ND
	VALUES (0.000000,
	0.000000,
	"83809c98-1c08-4844-bd0b-3b8eeec6eec1");
INSERT INTO DIM_GE
	VALUES (4534.000000,
	3247.000000,
	"83809c98-1c08-4844-bd0b-3b8eeec6eec1",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("83809c98-1c08-4844-bd0b-3b8eeec6eec1",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_CTXT
	VALUES ("5fbac7b6-9d30-4000-86fd-79ce05dad67d",
	"40669bc5-29ae-4f48-8bc7-bf537ea4bf5d",
	1,
	0.000000,
	0.000000);
INSERT INTO DIM_ND
	VALUES (0.000000,
	0.000000,
	"5fbac7b6-9d30-4000-86fd-79ce05dad67d");
INSERT INTO DIM_GE
	VALUES (0.000000,
	0.000000,
	"5fbac7b6-9d30-4000-86fd-79ce05dad67d",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("5fbac7b6-9d30-4000-86fd-79ce05dad67d",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO GD_LS
	VALUES ("f40fcc45-83fe-41ef-b142-8aa56c441141",
	"40669bc5-29ae-4f48-8bc7-bf537ea4bf5d",
	"00000000-0000-0000-0000-000000000000",
	"30df64c0-00a9-4682-9e6f-86166e7b9422",
	"0cbe7545-76ac-49c8-b3d1-30962fe12c08");
INSERT INTO DIM_WAY
	VALUES ("30df64c0-00a9-4682-9e6f-86166e7b9422",
	4512.000000,
	3217.000000,
	"40669bc5-29ae-4f48-8bc7-bf537ea4bf5d",
	"00000000-0000-0000-0000-000000000000",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_WAY
	VALUES ("0cbe7545-76ac-49c8-b3d1-30962fe12c08",
	4512.000000,
	3300.000000,
	"40669bc5-29ae-4f48-8bc7-bf537ea4bf5d",
	"00000000-0000-0000-0000-000000000000",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_GE
	VALUES (0.000000,
	0.000000,
	"40669bc5-29ae-4f48-8bc7-bf537ea4bf5d",
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ELE
	VALUES ("40669bc5-29ae-4f48-8bc7-bf537ea4bf5d",
	0,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO DIM_ED
	VALUES ("a2882353-7a2c-4deb-9a04-1c7b96359cc7",
	"4eb8495d-8833-494f-85f0-df72a05bf060",
	"40669bc5-29ae-4f48-8bc7-bf537ea4bf5d");
INSERT INTO DIM_DIA
	VALUES ("5f01c158-ee84-450d-a49f-e792c6c98051",
	'',
	1.000000,
	0.000000,
	0.000000,
	"00000000-0000-0000-0000-000000000000");
INSERT INTO O_OBJ_PROXY
	VALUES ("d9a77c5c-3086-4af5-8308-a838479e2244",
	'Composite',
	413,
	'COMP',
	'"A type may be composite, but the corresponding attribute must always be 
treated by the domain as a single unit" [xtUML]

The operations permitted using data types based on composite are limited to 
equality comparison and assignment to another composite type.

If individual elements of a composite type are to be operated on within the 
passed-to domain, then they must be sent individually. If they need to be 
treated as a group, then a class must be declared within the domain that 
supports them.

The operations external to the domain to support these two mechanisms consist 
of ungrouping the data from the composite, making the data available to the 
domain, and then regrouping the processed data. NOTE: while this process sounds
onerous, the architecture can perform coping mechanisms, such as mapping 
instances of the class in the domain to point to memory locations in the 
composite external to the domain. In this case, the whole ungroup, pass-in, and 
regroup is done automatically and the external operation only needs to ensure 
the sequence occurs without interference.',
	"00000000-0000-0000-0000-000000000000",
	'../Composite.xtuml');
